# Some monkey patching to Ruby

class Symbol
  def to_proc
    lambda { |obj, *args|
      obj.send(self, *args)
    }
  end
end
